package ligne2vie.topos.server.bo;

/**
 * The enumeration {@link EntityState} defines all possible states for a given persisted entity.
 * 
 * @author thuguerre
 * @since 1.0.0
 */
public enum EntityState {

	/**
	 * An entity {@link #TO_VERIFY} has its data to be verified depending on its step in the life-cycle. This could be
	 * the altitude to compare with external database ones.
	 */
	TO_VERIFY,

	/**
	 * This entity can be used without any problem.
	 */
	VALID,

	/**
	 * This entity has been removed from the database and will not appear any more. It is kept in database until
	 * definitively deleted in order to prevent mistake, bug or cyber-attacks.
	 */
	REMOVED;
}
